package com.yunxin.yundubbo.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "dubbo")
public class DubbedProperties {

    private Integer port;

    private RegisConfig regisConfig;


    @Data
    public static class RegisConfig{
        private String regisAddress;

        private String userName;

        private String passWorld;

        private String nameSpaces;
    }
}
